package com.money.common.exception;

public enum BizCodeEnum {

    VALID_EXCEPTION(10001,"参数校验错误"),

    UNKNOWN_EXCEPTION(10000,"未知错误");

    private Integer code;

    private String msg;

    private BizCodeEnum(Integer code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
